package cn.wolfcode.service;

import cn.wolfcode.domain.Appointment;
import cn.wolfcode.query.AppointmentQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IAppointmentService {

    int deleteByPrimaryKey(Long id);

    int insert(Appointment record);

    Appointment selectByPrimaryKey(Long id);

    List<Appointment> selectAll();

    int updateByPrimaryKey(Appointment record);

    PageInfo<Appointment> list(AppointmentQueryObject qo);

    void save(Appointment appointment);
}
